use strict;
use warnings;
use Archive::Tar;
use ExtUtils::MakeMaker;

my $build_requires = { 
    'Wx'                    => 0.50,
    'Time::HiRes'           => 1.20,
    'threads'               => 1.72,
    'threads::shared'       => 1.29,
    'Thread::Queue'         => 2.11,
    'UNIVERSAL::require'    => 0.13,
    'Scalar::Util'          => 1.19,
};

my $tarprog = 'tar';

WriteMakefile(
    NAME                => 'Wx::Perl::SimpleThread',
    AUTHOR              => 'Mark Dootson <mdootson@cpan.org>',
    ABSTRACT_FROM       => 'lib/Wx/Perl/SimpleThread.pm',
    VERSION_FROM        => 'lib/Wx/Perl/SimpleThread.pm',
    PL_FILES            => {},
    PREREQ_PM           => { %$build_requires },
    dist                => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', TAR => $tarprog, TARFLAGS => "cvf" },
    clean               => { FILES => 'Wx-Perl-SimpleThread-*' },
);


